﻿using System;

namespace YUMI.GIS.Interfaces
{
    /// <summary>
    /// 空间几何图形的维数
    /// </summary>
    public enum KGeometryDimension
    {
        /// <summary>
        /// 未知类型
        /// </summary>
        None = 0,
 
        /// <summary>
        /// Points and Multipoints,点和点群
        /// </summary>
        Dimension0,

        /// <summary>
        /// Polylines,线和线群
        /// </summary>
        Dimension1,

        /// <summary>
        /// Polygons,面和面群
        /// </summary>
        Dimension2,
    }

    /// <summary>
    /// 空间几何图形类型，可用于空间拓扑计算
    /// </summary>
    public enum KGeometryType
    {
        /// <summary>
        /// 未知类型
        /// </summary>
        None = 0,
        /// <summary>
        /// 点
        /// </summary>
        Point = 1,
        /// <summary>
        /// 多点，点的有顺集合
        /// </summary>
        MultiPoint = 2,
        /// <summary>
        /// 线
        /// </summary>
        Polyline = 3,
        /// <summary>
        /// 面
        /// </summary>
        Polygon = 4,
    }

    /// <summary>
    /// 几何形状类型的维数
    /// </summary>
    public enum KShapeDimension
    {
        /// <summary>
        /// 未知类型
        /// </summary>
        None = 0,

        /// <summary>
        /// Coordinate,点
        /// </summary>
        Dimension0,

        /// <summary>
        /// Segments, Paths,线和线群
        /// </summary>
        Dimension1,

        /// <summary>
        /// Envelopes, Rings
        /// </summary>
        Dimension2,
    }

    /// <summary>
    /// 几何形状类型
    /// </summary>
    public enum KShapeType
    {
        /// <summary>
        /// 未知类型
        /// </summary>
        None = 0,

        /// <summary>
        /// 点
        /// </summary>
        Coordinate = 1,

        /// <summary>
        /// 两点之间的直线段
        /// </summary>
        Line = 13,

        /// <summary>
        /// 路径
        /// </summary>
        Path = 6,

        /// <summary>
        /// 面环，其边界通过封闭路径包围的带面积的区域
        /// </summary>
        Ring = 11,

        /// <summary>
        /// 矩形，表示另一个几何体的空间范围
        /// </summary>
        Envelope = 5,

        /// <summary>
        /// 圆弧，圆的边界的一部分
        /// </summary>
        CircularArc = 14,
        /// <summary>
        /// 椭圆弧，椭圆的边界的一部分
        /// </summary>
        EllipticArc = 16,
        /// <summary>
        /// 三分之一次Bezier曲线(有四个控制点)
        /// </summary>
        Bezier3Curve = 15,
    }

    /// <summary>
    /// 对齐方式
    /// </summary>
    public enum KAlign
    {
        None = 0,
        Left_Up = 11,
        Left_Bottom = 12,
        Left_Center = 13,
        Right_Up = 21,
        Right_Bottom = 22,
        Right_Center = 23,
        Center_Up = 31,
        Center_Bottom = 32,
        Center_Center = 33,
    }

    public enum KMapUnit
    {
        /// <summary>
        /// 米
        /// </summary>
        Meters = 1,

        /// <summary>
        /// 十进制的经纬度
        /// </summary>
        DecimalDegrees = 2,
    }



}
